export default {
    namespaced: true,
    state: {
        num: 1
    },
    mutations: {
        SET_NUM(state, num) {
            state.num = num
        }
    },
    actions: {
        getnum({ commit }) {
            commit('SET_NUM', 99)
            // console.log(this)
        }
    },
    getters: {
        getternum(state) {
            return state.num
        }
    }
}